//
//  ThreeTableViewCell.m
//  UI_豆瓣影院
//
//  Created by dllo on 16/1/4.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ThreeTableViewCell.h"

@implementation ThreeTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatCell];
    }
    return self;
}
- (void)dealloc {
    [_lable release];
    [_lable1 release];
    [_lable2 release];
    [_imageview release];
    [super dealloc];
}

- (void)creatCell {
    self.imageview = [[UIImageView alloc] init];
    [self.contentView addSubview:_imageview];
    [_imageview release];
    self.lable = [[UILabel alloc] init];
    [_imageview addSubview:_lable];
    [_lable release];
    self.lable1 = [[UILabel alloc] init];
    [_imageview addSubview:_lable1];
    [_lable1 release];
    self.lable2 = [[UILabel alloc] init];
    [_imageview addSubview:_lable2];
    [_lable2 release];
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _imageview.frame = CGRectMake(10, 8, 355, 200);
//    _imageview.backgroundColor = [UIColor yellowColor];
    
    _lable.frame = CGRectMake(10, 8, 330, 45);
//    _lable.backgroundColor = [UIColor yellowColor];
    
    _lable1.frame = CGRectMake(10, 65, 330, 45);
    _lable1.numberOfLines = 10;
//    _lable1.backgroundColor = [UIColor yellowColor];
    
    _lable2.frame = CGRectMake(10, 130, 330, 45);
//    _lable2.backgroundColor = [UIColor yellowColor];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
